Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian_hypervisor: synchronize team0_x port state with OVS #666

Open
wants to merge 4 commits into
base: debiancentos
Choose a base branch
from

Conversation

ycongal-smile
Copy link
Contributor

@ycongal-smile ycongal-smile commented Dec 13, 2024

On hypervisor shutdown, OVS is stopped a long time before the team0_x
ports are shutdown as well.

In the meantime:

  • The switching done by OVS is stopped
  • The corosync totem stops circulating and nodes are disconnected from
    the pacemake cluster which leads to resources being stopped.
  • After a while, RTSP detects this and change ports configuration to
    avoid the shutdown node and corosync/pacemaker start back with the
    left nodes.

To avoid this, use systemd services to shutdown team0_x ports as soon as
OVS is stopped to signal RTSP to change the configuration "instantly"
and thus, avoid the corosync totem timeout.

This PR also include preliminary work and a unrelated readme fix

TODO:

  • Test feature as deployed
  • Test ansible deployment

On hypervisor shutdown, OVS is stopped a long time before the team0_x
ports are shutdown as well.

In the meantime:
* The switching done by OVS is stopped
* The corosync totem stops circulating and nodes are disconnected from
  the pacemake cluster which leads to resources being stopped.
* After a while, RTSP detects this and change ports configuration to
  avoid the shutdown node and corosync/pacemaker start back with the
  left nodes.

To avoid this, use systemd services to shutdown team0_x ports as soon as
OVS is stopped to signal RTSP to change the configuration "instantly"
and thus, avoid the corosync totem timeout.

Signed-off-by: Yoann Congal <[email protected]>
Signed-off-by: Florent CARLI <[email protected]>
@ycongal-smile ycongal-smile marked this pull request as ready for review December 16, 2024 10:15
insatomcat added a commit to seapath/cukinia-tests that referenced this pull request Dec 16, 2024
Usefull to deal with RSTP/Corosync working together (seapath/ansible#666)

Signed-off-by: Florent CARLI <[email protected]>
insatomcat added a commit to seapath/cukinia-tests that referenced this pull request Dec 18, 2024
Usefull to deal with RSTP/Corosync working together (seapath/ansible#666)

Signed-off-by: Florent CARLI <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants